home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 24
/
Aminet 24 (1998)(GTI - Schatztruhe)[!][Apr 1998].iso
/
Aminet
/
biz
/
dopus
/
XPKdc.lha
/
XPKdc
/
XPKdc_xfd.dopus5
< prev
next >
Wrap
Text File
|
1998-02-03
|
945b
|
57 lines
/*
$VER: XPKdc_xfd.dopus5 1.0 (02.02.98)
Ecrit par / written by
Fabien Conus
Utiliser des fichiers XPK comme des fichiers normaux /
To use XPK-packed files as if they where normal files
Appelé par: / Call as
<AREXX>DOpus5:ARexx/XPKdc_xfd.dopus5 {s} {o}
*/
options results
options failat 99
parse arg '"' chemin '"' nom
if Show("P","DOPUS.1") then
address "DOPUS.1"
Else Do
exit
end
dopus version
If ( result='RESULT' | translate(result,'.',' ') < 5.1218 ) then do
dopus request '"Ce script nécessite DOpus v5.5 ou plus/Needs DOpus v5.5 or more" OK'
exit
end
nom=strip(nom)
nom=strip(nom,'L','"')
file='"'chemin''nom
dopus front
address command 'c:xfddecrunch 'file' t:' FORCE
command wait doubleclick '"t:'nom''
address command wait
effacement:
address command 'delete "t:'nom' quiet'
signal erreur
exit
erreur:
say RC
if RC=20 then do
address command 'delete "t:'nom' quiet'
Call effacement
end
exit